package org.jeecg.glr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.glr.entity.GlrGateway;

import java.util.List;

/**
 * @Description: 网关管理
 * @Author: jeecg-boot
 * @Date:   2020-03-05
 * @Version: V1.0
 */
public interface IGlrGatewayService extends IService<GlrGateway> {

    /**
     * 根据网关编号获取网关信息
     * @param code
     * @return
     */
    GlrGateway getGlrGatewayByCode(String code);


    void saveEntity(GlrGateway glrGateway);

    void updateEntityById(GlrGateway glrGateway);



    /**
     * 获取LED屏在线状态
     * @return
     */
    List<String> getGlrGatewayStatus();

    public List<GlrGateway> getGlrGatewaySelect();

    int getGlrDataWayLightCount(String code);

    void removeEntityById(String id);

    void removeEntityByIds(List<String> asList);
}
